|
|
|
An RTP port is needed to stream audio to the telephone. The Push Agent sends the port information to the Trusted Push Server in the GET string. The GET string contains the variable “rtpLPort,” the telephone’s local port to be used for audio streaming.
The Push Agent responds to the server with:
| Push Message Type |
Syntax |
| “audio” |
GET|POST http://server_IP_address?rtpLPort=xxxx |
The RTP Local port information sent by the Push Agent to the Push Initiator from the GET request is as follows:
| GET Parameter |
Description |
| rtpLPort |
RTP Local port that will be used for streaming. |
NOTE: The rtpLPort is generated dynamically and might be different for every new Audio Stream Push session. The telephone will play the audio stream only on this specified port.
The code excerpt associated with Audio Push Example: (the hotel wake-up message), which will be sent as part of the Push Message, is as follows:
|
|
|